<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport"
          content="width=device-width, initial-scale=1">
    <title>詳情頁</title>

    <!-- Set render engine for 360 browser -->
    <meta name="renderer" content="webkit">

    <!-- No Baidu Siteapp-->
    <meta http-equiv="Cache-Control" content="no-siteapp"/>

    <link rel="icon" type="image/png" href="assets/i/examples/favicon.ico">

    <!-- Add to homescreen for Chrome on Android -->
    <meta name="mobile-web-app-capable" content="yes">
    <link rel="icon" sizes="192x192" href="assets/i/app-icon72x72@2x.png">

    <!-- Add to homescreen for Safari on iOS -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png">

    <!-- Tile icon for Win8 (144x144 + tile color) -->
    <meta name="msapplication-TileImage" content="assets/i/app-icon72x72@2x.png">
    <meta name="msapplication-TileColor" content="#0e90d2">

    <link rel="stylesheet" href="assets/css/amazeui.min.css">
    <link rel="stylesheet" href="assets/css/app.css">

    <link rel="stylesheet" href="assets/css/swiper.min.css">

    <link rel="stylesheet" href="assets/css/new-style.css">


</head>
<body>
<div class="container">

    <div class="am-u-sm-12 de-header">
            <span class="am-u-sm-3" style="text-align: left; cursor: pointer;" onclick="location='m-index.html'">
                <img src="assets/i/examples/top-back.png" alt="" style=" padding-bottom: 5px;">
            </span>
            <span class="am-u-sm-6" style="padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #FFF;">
                <span style="color: #FFF;">勞斯萊斯幻影</span>
            </span>
            <span class="am-u-sm-3" style="text-align: right; line-height: 40px; cursor: pointer;">
                <img src="assets/i/examples/top-shopcart.png" alt="" style="padding: 2px 4px 0 0;" onclick="location='m-shopcart.html'">
                <img src="assets/i/examples/top-home.png" alt="" onclick="location='m-index.html'">
            </span>
    </div>

    <div class="swiper-container">
        <div class="swiper-wrapper">
            <div class="swiper-slide"><img style="width: 100%; height: 100%" src="assets/i/examples/bing.jpg" alt=""/></div>
            <div class="swiper-slide"><img style="width: 100%; height: 100%" src="assets/i/examples/bing.jpg" alt=""/></div>
            <div class="swiper-slide"><img style="width: 100%; height: 100%" src="assets/i/examples/bing.jpg" alt=""/></div>
            <div class="swiper-slide"><img style="width: 100%; height: 100%" src="assets/i/examples/bing.jpg" alt=""/></div>
            <div class="swiper-slide"><img style="width: 100%; height: 100%" src="assets/i/examples/bing.jpg" alt=""/></div>
        </div>
        <div class="swiper-pagination"></div>
    </div>

    <div class="main">
        <div class="title">TOPSHOPPETITES娇小版JONI高腰版弹力修身牛仔裤26A61KBLK</div>
        <div class="price">$ 999</div>
        <div class="sales">月销量 999 件</div>
    </div>

    <div class="de-content" onclick="location='m-select.html'">
        選擇：尺寸/顏色分類<span style="float: right; color: #999; line-height: 14px; font-size: 20px;">…</span>
    </div>

    <div class="description">
        <div class="des-title">商品詳情</div>
        <div class="des-images">
            <img style="width: 100%; height: 100%" src="assets/i/examples/bing.jpg" alt=""/>
            <img style="width: 100%; height: 100%" src="assets/i/examples/bing.jpg" alt=""/>
            <img style="width: 100%; height: 100%" src="assets/i/examples/bing.jpg" alt=""/>
        </div>
    </div>

    <div class="de-copyright">
        ©2009-2016 JiaHong All Rights Reserved. 版权所有
    </div>

    <div class="am-u-sm-12 de-footer">
        <div id="collect" class="am-u-sm-2" style="padding: 0;" onclick="change_pic()">
            <img id="img" src="assets/i/examples/collect.png" alt=""/>
            <div style="color: #999; font-size: 14px;">收藏</div>
        </div>
        <div class="am-u-sm-5" style="background: #FF9500; color: #FFF; height: 50px; line-height: 50px;" onclick="location='m-select.html'">加入購物車</div>
        <div class="am-u-sm-5" style="background: #DD2727; color: #FFF; height: 50px; line-height: 50px;" onclick="location='m-orders.html'"><span>立即購買</span></div>
    </div>

    <!--container-->
</div>


<!--在这里编写你的代码-->

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<script src="assets/js/amazeui.min.js"></script>

<!-- Swiper JS -->
<script src="assets/js/swiper.min.js"></script>
<!-- Initialize Swiper -->
<script>


    function change_pic(){
        var imgObj = document.getElementById("img");
        if(imgObj.getAttribute("src")=="assets/i/examples/collect.png"){
            imgObj.src="assets/i/examples/collect1.png";
        }else{
            imgObj.src="assets/i/examples/collect.png";
        }
    }

    var swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        paginationClickable: true,
        autoplay: 2500
    });
</script>

</body>
</html>